[INFO] cloning repository https://github.com/kunalchandan/LatticeBoltzmann
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kunalchandan/LatticeBoltzmann" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkunalchandan%2FLatticeBoltzmann", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkunalchandan%2FLatticeBoltzmann'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 16ecba4248602ac341d17862fcfa52afa92095c0
[INFO] building kunalchandan/LatticeBoltzmann against master#881c1ac408d93bb7adaa3a51dabab9266e82eee8 for issue-85264
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkunalchandan%2FLatticeBoltzmann" "/workspace/builds/worker-4/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/kunalchandan/LatticeBoltzmann on toolchain 881c1ac408d93bb7adaa3a51dabab9266e82eee8
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/kunalchandan/LatticeBoltzmann
[INFO] finished tweaking git repo https://github.com/kunalchandan/LatticeBoltzmann
[INFO] tweaked toml for git repo https://github.com/kunalchandan/LatticeBoltzmann written to /workspace/builds/worker-4/source/Cargo.toml
[INFO] crate git repo https://github.com/kunalchandan/LatticeBoltzmann already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] c7c69d2c6ca9b324f1bf7ebe329b64d1903b7d382ea8a5d80ad8c14c1e0dd2cf
[INFO] running `Command { std: "docker" "start" "-a" "c7c69d2c6ca9b324f1bf7ebe329b64d1903b7d382ea8a5d80ad8c14c1e0dd2cf", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c7c69d2c6ca9b324f1bf7ebe329b64d1903b7d382ea8a5d80ad8c14c1e0dd2cf", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c7c69d2c6ca9b324f1bf7ebe329b64d1903b7d382ea8a5d80ad8c14c1e0dd2cf", kill_on_drop: false }`
[INFO] [stdout] c7c69d2c6ca9b324f1bf7ebe329b64d1903b7d382ea8a5d80ad8c14c1e0dd2cf
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] db44a3eb2413e79c7cf75e64dd27c1b977d4070097261a0f2359c468e02e8bf6
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "db44a3eb2413e79c7cf75e64dd27c1b977d4070097261a0f2359c468e02e8bf6", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v0.1.7
[INFO] [stderr]    Compiling cfg-if v0.1.10
[INFO] [stderr]    Compiling libc v0.2.65
[INFO] [stderr]    Compiling xml-rs v0.8.0
[INFO] [stderr]    Compiling log v0.4.8
[INFO] [stderr]    Compiling bitflags v1.2.1
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling proc-macro2 v0.4.30
[INFO] [stderr]    Compiling khronos_api v3.1.0
[INFO] [stderr]    Compiling byteorder v1.3.2
[INFO] [stderr]    Compiling scopeguard v1.0.0
[INFO] [stderr]    Compiling syn v0.15.44
[INFO] [stderr]    Compiling cc v1.0.47
[INFO] [stderr]    Compiling arrayvec v0.5.1
[INFO] [stderr]    Compiling proc-macro2 v1.0.6
[INFO] [stderr]    Compiling maybe-uninit v2.0.0
[INFO] [stderr]    Compiling unicode-xid v0.2.0
[INFO] [stderr]    Compiling nix v0.14.1
[INFO] [stderr]    Compiling rayon-core v1.6.0
[INFO] [stderr]    Compiling rand_core v0.4.2
[INFO] [stderr]    Compiling syn v1.0.8
[INFO] [stderr]    Compiling adler32 v1.0.4
[INFO] [stderr]    Compiling num-derive v0.2.5
[INFO] [stderr]    Compiling crc32fast v1.2.0
[INFO] [stderr]    Compiling lzw v0.10.0
[INFO] [stderr]    Compiling pkg-config v0.3.17
[INFO] [stderr]    Compiling piston-graphics_api_version v0.2.0
[INFO] [stderr]    Compiling getrandom v0.1.13
[INFO] [stderr]    Compiling color_quant v1.0.1
[INFO] [stderr]    Compiling same-file v1.0.5
[INFO] [stderr]    Compiling xdg v2.2.0
[INFO] [stderr]    Compiling scoped_threadpool v0.1.9
[INFO] [stderr]    Compiling ppv-lite86 v0.2.6
[INFO] [stderr]    Compiling libm v0.1.4
[INFO] [stderr]    Compiling percent-encoding v2.1.0
[INFO] [stderr]    Compiling typenum v1.11.2
[INFO] [stderr]    Compiling matrixmultiply v0.1.15
[INFO] [stderr]    Compiling rawpointer v0.1.0
[INFO] [stderr]    Compiling piston-shaders_graphics2d v0.3.1
[INFO] [stderr]    Compiling rawpointer v0.2.1
[INFO] [stderr]    Compiling lock_api v0.3.1
[INFO] [stderr]    Compiling crossbeam-utils v0.6.6
[INFO] [stderr]    Compiling itertools v0.7.11
[INFO] [stderr]    Compiling inflate v0.4.5
[INFO] [stderr]    Compiling rand_core v0.3.1
[INFO] [stderr]    Compiling rand_jitter v0.1.4
[INFO] [stderr]    Compiling shader_version v0.6.0
[INFO] [stderr]    Compiling walkdir v2.2.9
[INFO] [stderr]    Compiling num-traits v0.2.9
[INFO] [stderr]    Compiling num-integer v0.1.41
[INFO] [stderr]    Compiling crossbeam-utils v0.7.0
[INFO] [stderr]    Compiling crossbeam-epoch v0.8.0
[INFO] [stderr]    Compiling num-bigint v0.2.3
[INFO] [stderr]    Compiling num-iter v0.1.39
[INFO] [stderr]    Compiling num-rational v0.2.2
[INFO] [stderr]    Compiling num-complex v0.2.3
[INFO] [stderr]    Compiling rand_chacha v0.1.1
[INFO] [stderr]    Compiling rand_pcg v0.1.2
[INFO] [stderr]    Compiling rand v0.6.5
[INFO] [stderr]    Compiling gif v0.10.3
[INFO] [stderr]    Compiling matrixmultiply v0.2.3
[INFO] [stderr]    Compiling rand_xorshift v0.1.1
[INFO] [stderr]    Compiling rand_isaac v0.1.1
[INFO] [stderr]    Compiling rand_hc v0.1.0
[INFO] [stderr]    Compiling c2-chacha v0.2.3
[INFO] [stderr]    Compiling crossbeam-queue v0.1.2
[INFO] [stderr]    Compiling x11-dl v2.18.4
[INFO] [stderr]    Compiling memoffset v0.5.3
[INFO] [stderr]    Compiling parking_lot_core v0.6.2
[INFO] [stderr]    Compiling parking_lot v0.9.0
[INFO] [stderr]    Compiling smallvec v0.6.13
[INFO] [stderr]    Compiling draw_state v0.8.0
[INFO] [stderr]    Compiling gl_generator v0.11.0
[INFO] [stderr]    Compiling gl_generator v0.10.0
[INFO] [stderr]    Compiling gl_generator v0.13.1
[INFO] [stderr]    Compiling libloading v0.5.2
[INFO] [stderr]    Compiling stb_truetype v0.3.0
[INFO] [stderr]    Compiling deflate v0.7.20
[INFO] [stderr]    Compiling num_cpus v1.11.1
[INFO] [stderr]    Compiling memmap v0.7.0
[INFO] [stderr]    Compiling raw-window-handle v0.3.1
[INFO] [stderr]    Compiling shared_library v0.1.9
[INFO] [stderr]    Compiling rand_os v0.1.3
[INFO] [stderr]    Compiling quote v0.6.13
[INFO] [stderr]    Compiling quote v1.0.2
[INFO] [stderr]    Compiling gfx_core v0.9.2
[INFO] [stderr]    Compiling png v0.15.1
[INFO] [stderr]    Compiling rand_core v0.5.1
[INFO] [stderr]    Compiling osmesa-sys v0.1.2
[INFO] [stderr]    Compiling generic-array v0.13.2
[INFO] [stderr]    Compiling wayland-scanner v0.21.13
[INFO] [stderr]    Compiling approx v0.3.2
[INFO] [stderr]    Compiling ordered-float v1.0.2
[INFO] [stderr]    Compiling line_drawing v0.7.0
[INFO] [stderr]    Compiling rand_chacha v0.2.1
[INFO] [stderr]    Compiling dlib v0.4.1
[INFO] [stderr]    Compiling crossbeam-deque v0.7.2
[INFO] [stderr]    Compiling rusttype v0.8.1
[INFO] [stderr]    Compiling wayland-sys v0.21.13
[INFO] [stderr]    Compiling glutin_glx_sys v0.1.5
[INFO] [stderr]    Compiling gfx_gl v0.6.0
[INFO] [stderr]    Compiling rand v0.7.2
[INFO] [stderr]    Compiling glutin_egl_sys v0.1.4
[INFO] [stderr]    Compiling num v0.1.42
[INFO] [stderr]    Compiling gl v0.11.0
[INFO] [stderr]    Compiling rusttype v0.7.9
[INFO] [stderr]    Compiling alga v0.9.2
[INFO] [stderr]    Compiling gfx v0.18.2
[INFO] [stderr]    Compiling rulinalg v0.4.2
[INFO] [stderr]    Compiling andrew v0.2.1
[INFO] [stderr]    Compiling piston2d-graphics v0.35.0
[INFO] [stderr]    Compiling rayon v1.2.0
[INFO] [stderr]    Compiling rand_distr v0.2.2
[INFO] [stderr]    Compiling wayland-client v0.21.13
[INFO] [stderr]    Compiling wayland-protocols v0.21.13
[INFO] [stderr]    Compiling num v0.2.0
[INFO] [stderr]    Compiling nalgebra v0.19.0
[INFO] [stderr]    Compiling wayland-commons v0.21.13
[INFO] [stderr]    Compiling serde_derive v1.0.102
[INFO] [stderr]    Compiling jpeg-decoder v0.1.16
[INFO] [stderr]    Compiling derivative v1.0.3
[INFO] [stderr]    Compiling gfx_device_gl v0.16.2
[INFO] [stderr]    Compiling tiff v0.3.1
[INFO] [stderr]    Compiling image v0.22.3
[INFO] [stderr]    Compiling pistoncore-input v0.28.0
[INFO] [stderr]    Compiling smithay-client-toolkit v0.4.6
[INFO] [stderr]    Compiling piston-gfx_texture v0.40.0
[INFO] [stderr]    Compiling imageproc v0.19.2
[INFO] [stderr]    Compiling piston2d-opengl_graphics v0.70.0
[INFO] [stderr]    Compiling piston2d-gfx_graphics v0.66.0
[INFO] [stderr]    Compiling winit v0.19.5
[INFO] [stderr]    Compiling pistoncore-window v0.44.0
[INFO] [stderr]    Compiling pistoncore-event_loop v0.49.0
[INFO] [stderr]    Compiling piston v0.49.0
[INFO] [stderr]    Compiling glutin v0.21.1
[INFO] [stderr]    Compiling pistoncore-glutin_window v0.63.0
[INFO] [stderr]    Compiling piston_window v0.105.0
[INFO] [stderr]    Compiling lattice_boltzmann v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: visibility `pub(crate)` is not followed by an item
[INFO] [stdout]   --> src/lattice/consts.rs:17:1
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub(crate)pub(crate) static E: [[f32; 2]; 9] = [[0.,0.],
[INFO] [stdout]    | ^^^^^^^^^^ the visibility
[INFO] [stdout]    |
[INFO] [stdout]    = help: you likely meant to define an item, e.g., `pub(crate) fn foo() {}`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected item, found keyword `pub`
[INFO] [stdout]   --> src/lattice/consts.rs:17:11
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub(crate)pub(crate) static E: [[f32; 2]; 9] = [[0.,0.],
[INFO] [stdout]    |           ^^^ expected item
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `crate::lattice::consts::E`
[INFO] [stdout]  --> src/lattice/node.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::lattice::consts::E;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^ no `E` in `lattice::consts`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SCALE_X` in this scope
[INFO] [stdout]  --> src/lattice/funcs.rs:9:32
[INFO] [stdout]   |
[INFO] [stdout] 9 |         println!("{}, {}", (c0/SCALE_X) as usize, (c1/SCALE_Y) as usize);
[INFO] [stdout]   |                                ^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this constant
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::SCALE_X;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SCALE_Y` in this scope
[INFO] [stdout]  --> src/lattice/funcs.rs:9:55
[INFO] [stdout]   |
[INFO] [stdout] 9 |         println!("{}, {}", (c0/SCALE_X) as usize, (c1/SCALE_Y) as usize);
[INFO] [stdout]   |                                                       ^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this constant
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::SCALE_Y;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SCALE_X` in this scope
[INFO] [stdout]   --> src/lattice/funcs.rs:10:38
[INFO] [stdout]    |
[INFO] [stdout] 10 |         for den in 0..self.nodes[(c0/SCALE_X) as usize][(c1/SCALE_Y) as usize].micro_den.len() {
[INFO] [stdout]    |                                      ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this constant
[INFO] [stdout]    |
[INFO] [stdout] 1  | use crate::SCALE_X;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SCALE_Y` in this scope
[INFO] [stdout]   --> src/lattice/funcs.rs:10:61
[INFO] [stdout]    |
[INFO] [stdout] 10 |         for den in 0..self.nodes[(c0/SCALE_X) as usize][(c1/SCALE_Y) as usize].micro_den.len() {
[INFO] [stdout]    |                                                             ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this constant
[INFO] [stdout]    |
[INFO] [stdout] 1  | use crate::SCALE_Y;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SCALE_X` in this scope
[INFO] [stdout]   --> src/lattice/funcs.rs:11:28
[INFO] [stdout]    |
[INFO] [stdout] 11 |             self.nodes[(c0/SCALE_X) as usize][(c1/SCALE_Y) as usize].micro_den[den] += 1.;
[INFO] [stdout]    |                            ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this constant
[INFO] [stdout]    |
[INFO] [stdout] 1  | use crate::SCALE_X;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SCALE_Y` in this scope
[INFO] [stdout]   --> src/lattice/funcs.rs:11:51
[INFO] [stdout]    |
[INFO] [stdout] 11 |             self.nodes[(c0/SCALE_X) as usize][(c1/SCALE_Y) as usize].micro_den[den] += 1.;
[INFO] [stdout]    |                                                   ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this constant
[INFO] [stdout]    |
[INFO] [stdout] 1  | use crate::SCALE_Y;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SCALE_X` in this scope
[INFO] [stdout]   --> src/lattice/funcs.rs:14:38
[INFO] [stdout]    |
[INFO] [stdout] 14 |         for vel in 0..self.nodes[(c0/SCALE_X) as usize][(c1/SCALE_Y) as usize].micro_vel.len() {
[INFO] [stdout]    |                                      ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this constant
[INFO] [stdout]    |
[INFO] [stdout] 1  | use crate::SCALE_X;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SCALE_Y` in this scope
[INFO] [stdout]   --> src/lattice/funcs.rs:14:61
[INFO] [stdout]    |
[INFO] [stdout] 14 |         for vel in 0..self.nodes[(c0/SCALE_X) as usize][(c1/SCALE_Y) as usize].micro_vel.len() {
[INFO] [stdout]    |                                                             ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this constant
[INFO] [stdout]    |
[INFO] [stdout] 1  | use crate::SCALE_Y;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SCALE_X` in this scope
[INFO] [stdout]   --> src/lattice/funcs.rs:15:28
[INFO] [stdout]    |
[INFO] [stdout] 15 |             self.nodes[(c0/SCALE_X) as usize][(c1/SCALE_Y) as usize].micro_vel[vel] = 10. * unsafe { ((vel as f32) * PI/9.0).cos() };
[INFO] [stdout]    |                            ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this constant
[INFO] [stdout]    |
[INFO] [stdout] 1  | use crate::SCALE_X;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SCALE_Y` in this scope
[INFO] [stdout]   --> src/lattice/funcs.rs:15:51
[INFO] [stdout]    |
[INFO] [stdout] 15 |             self.nodes[(c0/SCALE_X) as usize][(c1/SCALE_Y) as usize].micro_vel[vel] = 10. * unsafe { ((vel as f32) * PI/9.0).cos() };
[INFO] [stdout]    |                                                   ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this constant
[INFO] [stdout]    |
[INFO] [stdout] 1  | use crate::SCALE_Y;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SCALE_X` in this scope
[INFO] [stdout]   --> src/lattice/funcs.rs:17:39
[INFO] [stdout]    |
[INFO] [stdout] 17 |         println!("{}", self.nodes[(c0/SCALE_X) as usize][(c1/SCALE_Y) as usize].macro_vel);
[INFO] [stdout]    |                                       ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this constant
[INFO] [stdout]    |
[INFO] [stdout] 1  | use crate::SCALE_X;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SCALE_Y` in this scope
[INFO] [stdout]   --> src/lattice/funcs.rs:17:62
[INFO] [stdout]    |
[INFO] [stdout] 17 |         println!("{}", self.nodes[(c0/SCALE_X) as usize][(c1/SCALE_Y) as usize].macro_vel);
[INFO] [stdout]    |                                                              ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this constant
[INFO] [stdout]    |
[INFO] [stdout] 1  | use crate::SCALE_Y;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SCALE_X` in this scope
[INFO] [stdout]   --> src/lattice/funcs.rs:18:39
[INFO] [stdout]    |
[INFO] [stdout] 18 |         println!("{}", self.nodes[(c0/SCALE_X) as usize][(c1/SCALE_Y) as usize].macro_den);
[INFO] [stdout]    |                                       ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this constant
[INFO] [stdout]    |
[INFO] [stdout] 1  | use crate::SCALE_X;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SCALE_Y` in this scope
[INFO] [stdout]   --> src/lattice/funcs.rs:18:62
[INFO] [stdout]    |
[INFO] [stdout] 18 |         println!("{}", self.nodes[(c0/SCALE_X) as usize][(c1/SCALE_Y) as usize].macro_den);
[INFO] [stdout]    |                                                              ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this constant
[INFO] [stdout]    |
[INFO] [stdout] 1  | use crate::SCALE_Y;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `MIN_VEL` in this scope
[INFO] [stdout]   --> src/lattice/funcs.rs:27:87
[INFO] [stdout]    |
[INFO] [stdout] 27 |                     self.nodes[x][y].micro_vel[i] = self.nodes[x][y].micro_vel[i].max(MIN_VEL).min( MAX_VEL);
[INFO] [stdout]    |                                                                                       ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `MAX_VEL` in this scope
[INFO] [stdout]   --> src/lattice/funcs.rs:27:101
[INFO] [stdout]    |
[INFO] [stdout] 27 |                     self.nodes[x][y].micro_vel[i] = self.nodes[x][y].micro_vel[i].max(MIN_VEL).min( MAX_VEL);
[INFO] [stdout]    |                                                                                                     ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `MIN_DEN` in this scope
[INFO] [stdout]   --> src/lattice/funcs.rs:31:87
[INFO] [stdout]    |
[INFO] [stdout] 31 |                     self.nodes[x][y].micro_den[i] = self.nodes[x][y].micro_den[i].max(MIN_DEN).min(MAX_DEN);
[INFO] [stdout]    |                                                                                       ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `MAX_DEN` in this scope
[INFO] [stdout]   --> src/lattice/funcs.rs:31:100
[INFO] [stdout]    |
[INFO] [stdout] 31 |                     self.nodes[x][y].micro_den[i] = self.nodes[x][y].micro_den[i].max(MIN_DEN).min(MAX_DEN);
[INFO] [stdout]    |                                                                                                    ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `U_Y` in this scope
[INFO] [stdout]   --> src/lattice/funcs.rs:81:28
[INFO] [stdout]    |
[INFO] [stdout] 81 |                     if y < U_Y - 1 {
[INFO] [stdout]    |                            ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `U_X` in this scope
[INFO] [stdout]   --> src/lattice/funcs.rs:87:24
[INFO] [stdout]    |
[INFO] [stdout] 87 |                 if x < U_X - 1 {
[INFO] [stdout]    |                        ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `U_Y` in this scope
[INFO] [stdout]   --> src/lattice/funcs.rs:96:28
[INFO] [stdout]    |
[INFO] [stdout] 96 |                     if y < U_Y - 1 {
[INFO] [stdout]    |                            ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `U_Y` in this scope
[INFO] [stdout]    --> src/lattice/funcs.rs:107:24
[INFO] [stdout]     |
[INFO] [stdout] 107 |                 if y < U_Y - 1 {
[INFO] [stdout]     |                        ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `W` in this scope
[INFO] [stdout]    --> src/lattice/funcs.rs:149:30
[INFO] [stdout]     |
[INFO] [stdout] 149 |                     let wi = W[i];
[INFO] [stdout]     |                              ^
[INFO] [stdout]     |
[INFO] [stdout] help: a local variable with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 149 |                     let wi = c[i];
[INFO] [stdout]     |                              ^
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 1   | use crate::Key::W;
[INFO] [stdout]     |
[INFO] [stdout] 1   | use piston::Key::W;
[INFO] [stdout]     |
[INFO] [stdout] 1   | use piston_window::Key::W;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `E` in this scope
[INFO] [stdout]    --> src/lattice/funcs.rs:150:65
[INFO] [stdout]     |
[INFO] [stdout] 150 |                     let ei: na::Vector2<f32> = na::Vector2::new(E[i][0], E[i][1]);
[INFO] [stdout]     |                                                                 ^
[INFO] [stdout]     |
[INFO] [stdout] help: a local variable with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 150 |                     let ei: na::Vector2<f32> = na::Vector2::new(c[i][0], E[i][1]);
[INFO] [stdout]     |                                                                 ^
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 1   | use core::f32::consts::E;
[INFO] [stdout]     |
[INFO] [stdout] 1   | use core::f64::consts::E;
[INFO] [stdout]     |
[INFO] [stdout] 1   | use crate::Key::E;
[INFO] [stdout]     |
[INFO] [stdout] 1   | use piston::Key::E;
[INFO] [stdout]     |
[INFO] [stdout]       and 3 other candidates
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `E` in this scope
[INFO] [stdout]    --> src/lattice/funcs.rs:150:74
[INFO] [stdout]     |
[INFO] [stdout] 150 |                     let ei: na::Vector2<f32> = na::Vector2::new(E[i][0], E[i][1]);
[INFO] [stdout]     |                                                                          ^
[INFO] [stdout]     |
[INFO] [stdout] help: a local variable with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 150 |                     let ei: na::Vector2<f32> = na::Vector2::new(E[i][0], c[i][1]);
[INFO] [stdout]     |                                                                          ^
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 1   | use core::f32::consts::E;
[INFO] [stdout]     |
[INFO] [stdout] 1   | use core::f64::consts::E;
[INFO] [stdout]     |
[INFO] [stdout] 1   | use crate::Key::E;
[INFO] [stdout]     |
[INFO] [stdout] 1   | use piston::Key::E;
[INFO] [stdout]     |
[INFO] [stdout]       and 3 other candidates
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `U_X` in this scope
[INFO] [stdout]   --> src/lattice.rs:35:12
[INFO] [stdout]    |
[INFO] [stdout] 35 |         }; U_X]; U_Y];
[INFO] [stdout]    |            ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `U_Y` in this scope
[INFO] [stdout]   --> src/lattice.rs:35:18
[INFO] [stdout]    |
[INFO] [stdout] 35 |         }; U_X]; U_Y];
[INFO] [stdout]    |                  ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `C` in this scope
[INFO] [stdout]   --> src/lattice.rs:44:12
[INFO] [stdout]    |
[INFO] [stdout] 44 |         c: C,
[INFO] [stdout]    |            ^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 3  | use crate::Key::C;
[INFO] [stdout]    |
[INFO] [stdout] 3  | use piston::Key::C;
[INFO] [stdout]    |
[INFO] [stdout] 3  | use piston_window::Key::C;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `T` in this scope
[INFO] [stdout]   --> src/lattice.rs:45:14
[INFO] [stdout]    |
[INFO] [stdout] 45 |         tau: T
[INFO] [stdout]    |              ^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 3  | use crate::Key::T;
[INFO] [stdout]    |
[INFO] [stdout] 3  | use piston::Key::T;
[INFO] [stdout]    |
[INFO] [stdout] 3  | use piston_window::Key::T;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SCALE_X` in module `lattice`
[INFO] [stdout]   --> src/main.rs:10:35
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub const SCALE_X: u32 = lattice::SCALE_X;
[INFO] [stdout]    |                                   ^^^^^^^ not found in `lattice`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SCALE_Y` in module `lattice`
[INFO] [stdout]   --> src/main.rs:11:35
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub const SCALE_Y: u32 = lattice::SCALE_Y;
[INFO] [stdout]    |                                   ^^^^^^^ not found in `lattice`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `X` in module `lattice`
[INFO] [stdout]   --> src/main.rs:50:57
[INFO] [stdout]    |
[INFO] [stdout] 50 |         *pixel = im::Rgba([gaussian_beam(x, y, lattice::X).0 as u8, 0, 0, 255]);
[INFO] [stdout]    |                                                         ^ not found in `lattice`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 6  | use crate::Key::X;
[INFO] [stdout]    |
[INFO] [stdout] 6  | use piston::Key::X;
[INFO] [stdout]    |
[INFO] [stdout] 6  | use piston_window::Key::X;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `X` in module `lattice`
[INFO] [stdout]   --> src/main.rs:66:26
[INFO] [stdout]    |
[INFO] [stdout] 66 |     for x in 0..lattice::X {
[INFO] [stdout]    |                          ^ not found in `lattice`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 6  | use crate::Key::X;
[INFO] [stdout]    |
[INFO] [stdout] 6  | use piston::Key::X;
[INFO] [stdout]    |
[INFO] [stdout] 6  | use piston_window::Key::X;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `Y` in module `lattice`
[INFO] [stdout]   --> src/main.rs:67:30
[INFO] [stdout]    |
[INFO] [stdout] 67 |         for y in 0..lattice::Y {
[INFO] [stdout]    |                              ^ not found in `lattice`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 6  | use crate::Key::Y;
[INFO] [stdout]    |
[INFO] [stdout] 6  | use piston::Key::Y;
[INFO] [stdout]    |
[INFO] [stdout] 6  | use piston_window::Key::Y;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `X` in module `lattice`
[INFO] [stdout]   --> src/main.rs:88:19
[INFO] [stdout]    |
[INFO] [stdout] 88 |         [lattice::X * SCALE_X, lattice::Y * SCALE_Y])
[INFO] [stdout]    |                   ^ not found in `lattice`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 6  | use crate::Key::X;
[INFO] [stdout]    |
[INFO] [stdout] 6  | use piston::Key::X;
[INFO] [stdout]    |
[INFO] [stdout] 6  | use piston_window::Key::X;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `Y` in module `lattice`
[INFO] [stdout]   --> src/main.rs:88:41
[INFO] [stdout]    |
[INFO] [stdout] 88 |         [lattice::X * SCALE_X, lattice::Y * SCALE_Y])
[INFO] [stdout]    |                                         ^ not found in `lattice`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 6  | use crate::Key::Y;
[INFO] [stdout]    |
[INFO] [stdout] 6  | use piston::Key::Y;
[INFO] [stdout]    |
[INFO] [stdout] 6  | use piston_window::Key::Y;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `X` in module `lattice`
[INFO] [stdout]   --> src/main.rs:99:93
[INFO] [stdout]    |
[INFO] [stdout] 99 |     let mut canvas: im::ImageBuffer<im::Rgba<u8>, Vec<u8>>  = im::ImageBuffer::new(lattice::X * SCALE_X, lattice::Y * SCALE_Y);
[INFO] [stdout]    |                                                                                             ^ not found in `lattice`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 6  | use crate::Key::X;
[INFO] [stdout]    |
[INFO] [stdout] 6  | use piston::Key::X;
[INFO] [stdout]    |
[INFO] [stdout] 6  | use piston_window::Key::X;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `Y` in module `lattice`
[INFO] [stdout]   --> src/main.rs:99:115
[INFO] [stdout]    |
[INFO] [stdout] 99 |     let mut canvas: im::ImageBuffer<im::Rgba<u8>, Vec<u8>>  = im::ImageBuffer::new(lattice::X * SCALE_X, lattice::Y * SCALE_Y);
[INFO] [stdout]    |                                                                                                                   ^ not found in `lattice`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 6  | use crate::Key::Y;
[INFO] [stdout]    |
[INFO] [stdout] 6  | use piston::Key::Y;
[INFO] [stdout]    |
[INFO] [stdout] 6  | use piston_window::Key::Y;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::process::exit`
[INFO] [stdout]  --> src/lattice.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::process::exit;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::lattice::consts::*`
[INFO] [stdout]  --> src/lattice.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::lattice::consts::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::lattice::consts::*`
[INFO] [stdout]  --> src/lattice/funcs.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::lattice::consts::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/main.rs:39:18
[INFO] [stdout]    |
[INFO] [stdout] 39 |     let f: f32 = (a * (f32::exp(-1.0 * ((x0.powf(2.0) / (2.0 * sx.powf(2.0))) + (y0.powf(2.0) / (2.0 * sx.powf(2.0))))) - b));
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 41 previous errors; 4 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0432.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `lattice_boltzmann`
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `Command { std: "docker" "inspect" "db44a3eb2413e79c7cf75e64dd27c1b977d4070097261a0f2359c468e02e8bf6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "db44a3eb2413e79c7cf75e64dd27c1b977d4070097261a0f2359c468e02e8bf6", kill_on_drop: false }`
[INFO] [stdout] db44a3eb2413e79c7cf75e64dd27c1b977d4070097261a0f2359c468e02e8bf6
